package com.abhipedro.wordsearch.util;

import android.app.Activity;

import com.adwhirl.AdWhirlLayout;

public class AdWhirlWrapper extends AdWhirlLayout {

	private int mHeight;

	public AdWhirlWrapper(Activity context, String keyAdWhirl) {
		super(context, keyAdWhirl);
	}

	@Override
	protected void onSizeChanged(int w, int h, int oldw, int oldh) {
		super.onSizeChanged(w, h, oldw, oldh);
		if (h > mHeight) {
			mHeight = h;
			setMinimumHeight(mHeight);
		}
	}

}
